const express = require("express");
const router = express.Router();
const {
  login,
  refreshToken,
} = require("../../controllers/login/authController");
/**
 * 登录
 * POST  /auth/sign_in
 */
router.post("/sign_in", login);

/**
 * 刷新 token
 * POST  /auth/refresh-token
 */
router.post("/refresh-token", refreshToken);

module.exports = router;
